
<!-- saved from url=(0045)http://111.230.185.250:7777/doctor/summary/1/ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-hans" lang="zh-hans"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" type="image/png" sizes="16x16" href="../../爱丁堡信息平台_files/logo_new.png">
    <title>爱丁堡信息平台</title>
    <!-- Bootstrap Core CSS -->
    <link href="../../爱丁堡信息平台_files/bootstrap.min.css" rel="stylesheet">
    <link href="../../爱丁堡信息平台_files/bootstrap-extension.css" rel="stylesheet">
    <!-- Menu CSS -->
    <link href="../../爱丁堡信息平台_files/sidebar-nav.min.css" rel="stylesheet">
    <!-- morris CSS -->
    <link href="../../爱丁堡信息平台_files/morris.css" rel="stylesheet">
    <!-- animation CSS -->
    <link href="../../爱丁堡信息平台_files/animate.css" rel="stylesheet">
    <!-- Custom CSS -->
    <link href="../../爱丁堡信息平台_files/style.css" rel="stylesheet">
     <!-- nurse_index CSS -->
    <link href="../../爱丁堡信息平台_files/nurse_index.css" rel="stylesheet">
    <!-- color CSS -->
    <link href="../../爱丁堡信息平台_files/megna.css" id="theme" rel="stylesheet">
    <link href="../../爱丁堡信息平台_files/css.css" rel="stylesheet">
    <!--img-->
     <link href="../../爱丁堡信息平台_files/bootstrap-fileinput.css" rel="stylesheet">
     <script type="text/javascript" defer="" async="" src="../../爱丁堡信息平台_files/uaest.js"></script>
     <script src="../../爱丁堡信息平台_files/jquery.min.js"></script>
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript" src="../../爱丁堡信息平台_files/laydate/laydate.js"></script>
    <!-- doctor CSS -->
    <link rel="stylesheet" href="../../file/css/style.css">

<link rel="stylesheet" href="../../爱丁堡信息平台_files/layer.css" id="layuicss-skinlayercss"><link rel="stylesheet" href="../../爱丁堡信息平台_files/laydate/theme/default/laydate.css" id="layuicss-laydate"><style type="text/css">.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}</style><style>@font-face{font-family:uc-nexus-iconfont;src:url(chrome-extension://pogijhnlcfmcppgimcaccdkmbedjkmhi/res/font_9qmmi8b8jsxxbt9.woff) format('woff'),url(chrome-extension://pogijhnlcfmcppgimcaccdkmbedjkmhi/res/font_9qmmi8b8jsxxbt9.ttf) format('truetype')}</style></head>
<body style="height: 100%">
    <!-- Preloader -->
    <div class="preloader" style="display: none;">
        <div class="cssload-speeding-wheel"></div>
    </div>

    <div id="wrapper">
        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top m-b-0" style="position: fixed">
            <div class="navbar-header">
                <a class="navbar-toggle hidden-sm hidden-md hidden-lg " href="javascript:void(0)" data-toggle="collapse" data-target=".navbar-collapse">
                    <i class="ti-menu">
                    </i>
                </a>
                <!--
                <div class="top-left-part">
                    <a class="logo" href="/">
                        <b><img src="/static/plugins/images/eliteadmin-logo.png" alt="home" /></b>
                        <span class="hidden-xs"><strong>爱丁堡信息平台</strong></span>
                    </a>
                </div>
                -->

                <div class="top-left-part"><a class="logo" href="http://111.230.185.250:7777/nurse/base_info/"><b><img src="../../爱丁堡信息平台_files/logo_new.png"></b><span class="hidden-xs">爱丁堡信息平台</span></a></div>



                <ul class="nav navbar-top-links navbar-left hidden-xs">
                    <li>
                        <a href="javascript:void(0)" class="open-close hidden-xs waves-effect waves-light">
                            <i class="icon-arrow-left-circle ti-menu" style="line-height: 60px"></i>
                        </a>
                    </li>
                    <!--
                    <li>
                        <form role="search" class="app-search hidden-xs">
                            <input type="text" placeholder="搜索" class="form-control" id="topNum">
                            <a href="" id="searchTop"><i class="fa fa-search"></i></a>
                        </form>
                    </li>
                    -->
                </ul>
                 <div class="toplist">
                      <ul>
                     
                     <!--
                    <li class="toplistcentv">
                    -->
                     <li>
                       <a href="http://111.230.185.250:7777/nurse/search" class="toplistcolor">护士</a>
                    </li>
                    
                    
                    <li>
                       <a href="http://111.230.185.250:7777/doctor/search/" class="toplistcolor">医生</a>
                    </li>
                    
                    
                    <li>
                       <a href="http://111.230.185.250:7777/manager/account/account_list/1/" class="toplistcolor">管理员</a>
                    </li>
                    
                    </ul>
                </div>
                <ul class="nav navbar-top-links navbar-right pull-right">
                    <li class="dropdown" style="margin-right: 20px;position: relative;width: 120px;">
                        <div class="wap-lang-container language" align="right" >
                            <span class="stage" id='stage'><img src="https://coinwin-im.oss-cn-beijing.aliyuncs.com/coinwin_im/Public/Home/new_index/images/en.png" alt=""><i>English</i></span>
                            <div value="CHN" id="CHN">
                                <img src="https://coinwin-im.oss-cn-beijing.aliyuncs.com/coinwin_im/Public/Home/new_index/images/flag.png" alt="">
                                <i>中文</i>
                            </div>
                            <div value="ENG" id="ENG">
                                <img src="https://coinwin-im.oss-cn-beijing.aliyuncs.com/coinwin_im/Public/Home/new_index/images/en.png" alt="">
                                <i>English</i>
                            </div>
                        </div>
                    </li>
                    <script type="text/javascript">
                        $('.language>div').click(function(){
                            language($(this).attr('value'),$(this));
                            console.log($(this).attr('value'));
                        });
                        function language(type,th){
                            if(th){
                                $('#stage>i').text(th.children("i").text());
                                $('#stage>img').attr('src',th.children("img").attr('src'));
                                return;
                            }
                            if(type == 'CHN'){

                            }else if(type == 'ENG'){

                            }
                        } 
                    </script>
                    <li class="dropdown" style="margin-right: 20px;">
                        <a class="dropdown-toggle profile-pic " data-toggle="dropdown" href="http://111.230.185.250:7777/doctor/summary/1/#">
                            <img src="../../爱丁堡信息平台_files/user_logo.jpg" alt="user-img" width="36" class="img-circle">
                            <b class="hidden-xs">系统管理员</b>
                        </a>

                        <ul class="dropdown-menu dropdown-user animated flipInY">
                            <li><a href="http://111.230.185.250:7777/account/passwd_edit/"><i class="ti-settings"></i>  密码修改</a></li>
                            <li><a href="http://111.230.185.250:7777/account/loginout/"><i class="fa fa-power-off"></i> 退出登录 </a></li>
                        </ul>
                        <!-- /.dropdown-user -->
                    </li>
                    <!-- /.dropdown -->
                </ul>
            </div>
            <!-- /.navbar-header -->
            <!-- /.navbar-top-links -->
            <!-- /.navbar-static-side -->











        </nav>
                
         <!-- Left navbar-header -->
    <div class="navbar-default sidebar" role="navigation">
        <div class="slimScrollDiv" style="position: relative; overflow: hidden; width: auto; height: 100%;"><div class="sidebar-nav navbar-collapse slimscrollsidebar" style="position: fixed; overflow: hidden; width: auto; height: 100%;">
            <div class="nav" id="side-menu">
                <div class="container-fluid bg-title">
                    <div class="white-box jutilist" style="width: 250px;height: 100%;float: left;border: 0;padding: 0;">
                        
                        <h1 style="padding-left: 15px;color: #888;">--- 主菜单</h1>
                        <form action="http://111.230.185.250:7777/nurse/basic_info/1/"></form>
                            <ul id="tab" style="padding-left: 10px;">
                             <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/2.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/summary/1/"> 患者基本信息</a></span>
                                 <span></span>
                             </li>
                             <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/3.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/basic_info/1/"> 糖尿病状态</a></span>
                                 <span></span>
                             </li>
                            <!--新增部分-->
                             <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/4.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/info/info_main/1/"> 既往病史</a></span>
                                 <span></span>
                             </li>
                            <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/5.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/info/info_main/1/"> 患者健康</a></span>
                                 <span></span>
                             </li>
                              <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/6.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/info/info_main/1/"> 心血管状态</a></span>
                                 <span></span>
                             </li>
                              <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/7.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/info/info_main/1/"> 肾脏状态</a></span>
                                 <span></span>
                             </li>
                              <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/8.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/info/info_main/1/"> 视力状态</a></span>
                                 <span></span>
                             </li>
                              <li class="active">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/9.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/info/info_main/1/"> 足部护理</a></span>
                                 <span></span>
                             </li>
                              <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/11.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/info/info_main/1/"> 患者教育</a></span>
                                 <span></span>
                             </li>
                              <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/12.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/info/info_main/1/"> 行政管理</a></span>
                                 <span></span>
                             </li>
                              <!-- <li class="">
                                 <span class="cimao" style="margin-top:8%"><img src="../../爱丁堡信息平台_files/13.png"></span>
                                 <span class="cimao2"><a href="http://111.230.185.250:7777/doctor/info/info_main/1/"> 打印标签</a></span>
                                 <span></span>
                             </li> -->
                        </ul>
                        
                    </div>
                </div>
            </div>
        </div><div class="slimScrollBar" style="background: rgb(220, 220, 220); width: 0px; position: absolute; top: 0px; opacity: 0.4; display: block; border-radius: 7px; z-index: 99; right: 1px; height: 763.753px;"></div><div class="slimScrollRail" style="width: 0px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; background: rgb(51, 51, 51); opacity: 0.2; z-index: 90; right: 1px;"></div></div>
    </div>


            <div class="row" style="padding:60px 20px 0 260px;margin-right: 0;background: #EDF1F5;">
                <div class="col-md-12 col-xs-12" style="background: #EDF1F5;">
                    <div class="white-box" style="height: auto;border: 0;padding: 0;margin:0px -10px 0px -10px;">

                        <div class="center">
                            <div class="row bottomA">
                              <div class="col-lg-3 box box_l"><i class="c3">就医卡号：</i><i>2135469870</i></div>
                              <div class="col-lg-2 box"><i class="c3">姓名：</i><i>张三</i></div>
                              <div class="col-lg-2 box"><i class="c3">性别：</i><i>男</i></div>
                              <div class="col-lg-2 box"><i class="c3">年龄：</i><i>58</i></div>
                              <div class="col-lg-3 box box_r"><i class="c3">类型：</i><i>复诊</i></div>  
                            </div>
                            <div class="row bottomA">
                                <div class="col-lg-4 box box_l"><i class="c3">足部护理</i></div>
                                <div class="col-lg-8 box box_r"><span ><i class="green">收录医师：</i><i class="c3">李四</i></span>
                                <span class="col-lg-4" style="white-space:nowrap;overflow:hidden;">
                                   <i class="c3">收录日期：</i> 
                                    <select name="" id="" class="T_input">
                                        <option>2018-9-9</option>
                                    </select>
                                </span></div>
                            </div>
                            <div class="row rowB bottomB">
                                <div class="col-lg-4 right box box_l"><i class="col-lg-3">诊断日期</i><input type="text" class="input layDate col-lg-9"><i class="icon-calendar" style="position: absolute;top: calc(50% - 8px);right: 12px;"></i></div>
                                <div class="col-lg-4 right box box_l"><i class="col-lg-3">左足脉</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">无</i><input type="radio" checked name='veinsA' id='veinsA1'>
                                        <label for="veinsA1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">胫后</i><input type="radio" name='veinsA' id='veinsA2'>
                                        <label for="veinsA2" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">足背</i><input type="radio" name='veinsA' id='veinsA3'>
                                        <label for="veinsA3" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                                <div class="col-lg-4 box box_l"><i class="col-lg-3">右足脉</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">无</i><input type="radio" checked name='veinsB' id='veinsB1'>
                                        <label for="veinsB1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">胫后</i><input type="radio" name='veinsB' id='veinsB2'>
                                        <label for="veinsB2" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">足背</i><input type="radio" name='veinsB' id='veinsB3'>
                                        <label for="veinsB3" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                            </div>
                            <div class="row rowB bottomB">
                                <div class="col-lg-4 right box box_l"><i class="col-lg-3">足畸</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">现有</i><input type="radio" checked name='veinsC' id='veinsC1'>
                                        <label for="veinsC1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">没有</i><input type="radio" name='veinsC' id='veinsC2'>
                                        <label for="veinsC2" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                                <div class="col-lg-4 right box box_l"><i class="col-lg-3">左足脉</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">正常</i><input type="radio" checked name='veinsD' id='veinsD1'>
                                        <label for="veinsD1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">不良</i><input type="radio" name='veinsD' id='veinsD2'>
                                        <label for="veinsD2" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                                <div class="col-lg-4 box box_l"><i class="col-lg-3">右足脉</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">正常</i><input type="radio" checked name='veinsE' id='veinsE1'>
                                        <label for="veinsE1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">不良</i><input type="radio" name='veinsE' id='veinsE2'>
                                        <label for="veinsE2" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                            </div>
                            <div class="row rowB bottomB">
                                <div class="col-lg-4 right box box_l"><i class="col-lg-3">结茧</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">现有</i><input type="radio" checked name='veinsF' id='veinsF1'>
                                        <label for="veinsF1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">没有</i><input type="radio" name='veinsF' id='veinsF2'>
                                        <label for="veinsF2" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                                <div class="col-lg-4 right box box_l"><i class="col-lg-3">自我管理能力</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">是</i><input type="radio" checked name='veinsG' id='veinsG1'>
                                        <label for="veinsG1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">否</i><input type="radio" name='veinsG' id='veinsG2'>
                                        <label for="veinsG2" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                                <div class="col-lg-4 box box_l"><i class="col-lg-3">溃疡</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">现有</i><input type="radio" checked name='veinsH' id='veinsH1'>
                                        <label for="veinsH1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">没有</i><input type="radio" name='veinsH' id='veinsH2'>
                                        <label for="veinsH2" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                            </div>
                            <div class="row rowB">
                                <div class="col-lg-8 right box box_l"><i class="col-lg-2">截肢</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">足趾</i><input type="radio" checked name='veinsI' id='veinsI1'>
                                        <label for="veinsI1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">前足</i><input type="radio" name='veinsI' id='veinsI2'>
                                        <label for="veinsI2" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">后足</i><input type="radio" name='veinsI' id='veinsI3'>
                                        <label for="veinsI3" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">脚踝</i><input type="radio" name='veinsI' id='veinsI4'>
                                        <label for="veinsI4" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">中胫</i><input type="radio" name='veinsI' id='veinsI5'>
                                        <label for="veinsI5" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">膝盖下</i><input type="radio" name='veinsI' id='veinsI6'>
                                        <label for="veinsI6" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">膝盖上</i><input type="radio" name='veinsI' id='veinsI7'>
                                        <label for="veinsI7" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                                <div class="col-lg-4 box box_l"><i class="col-lg-3">截肢</i>
                                    <div class="text-left radioz">
                                        <span><i class="c3">低</i><input type="radio" checked name='veinsJ' id='veinsJ1'>
                                        <label for="veinsJ1" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">中</i><input type="radio" name='veinsJ' id='veinsJ2'>
                                        <label for="veinsJ2" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">高</i><input type="radio" name='veinsJ' id='veinsJ3'>
                                        <label for="veinsJ3" style="margin-right: 15px;"></label></span>
                                        <span><i class="c3">活动足疾</i><input type="radio" name='veinsJ' id='veinsJ4'>
                                        <label for="veinsJ4" style="margin-right: 15px;"></label></span>
                                    </div>
                                </div>
                            </div>
                            <div class="choice">
                                <button class="cancel" id='cancel'>取消</button>
                                <button class="save" id='save'>保存</button>
                            </div>
                        </div>

                    <h5 class="text-center " style="width: 100%;float: right;height: 15px;overflow: hidden;"> copyright :2018 © Edinburgh International Diabetes Centre IT Platform</h5>
                </div>
            </div>
            
         </div>
   </div>
</div>
    <script>
         /*引入日期插件*/
        $('.layDate').each(function(){
            laydate.render({
              elem: this //指定元素
            });
        });
        
        function search() {
             var select_data_val = $('#select_data').val();
                $.ajax({
                       type: "POST",
                       url: "/doctor/menu",
                       data: {'select_data_val':select_data_val},
                       dataType: "text",
                       success: function(data){
                            $("#menu").html(data);
                       }
                       });

        }
        var img1 = true;
        var amount = 1;
        var present = 1;
        var th;
        $('.img').on('click', '.addImg', function (e) {
            $('#file'+$(this)[0].id.split('_')[1]).click();
            th = $(this);
            stopBubble(e);
        });
        $('.img').on('click', '.mclose', function (e) {
            stopBubble(e);
            if(present-1 < 1) return;
            var i = $(this)[0].id.split('_')[1];
            $('#boxs'+i).remove();
            $('#file'+i).remove();
            present = present - 1;
            if(present != 4) return;
            amount = amount + 1;
            var htmlC = '<div id="boxs'+amount+'" style="margin-left:20px;">'+
                '<div class="addImg" id="img_'+amount+'">'+
                    '<i class="madd">+</i><p>点击添加图片</p>'+
                '</div>'+
                '<input type="file" id="file'+amount+'" name="img" style="width: 0;height: 0; visibility:hidden;">'+
            '</div>';
            $('.img').append(htmlC);
        });
        var typeImg = ['bmp', 'jpeg', 'jpg', 'png', 'tif', 'gif', 'pcx', 'tga', 'exif', 'fpx', 'svg', 'psd', 'cdr', 'pcd', 'dxf', 'ufo', 'eps', 'ai', 'raw', 'WMF', 'webp'];
        $('.img').on('change','input[name="img"]',function(){
            if(!this.files[0]) return;
            var split = this.files[0].name.split('.');
            var pd = false;
            for (var i = 0; i < typeImg.length; i++) {
                if (split[split.length - 1].toLowerCase() == typeImg[i]) {
                    pd = true;
                    break;
                }
            }
            if (!pd) {
                alert('请选择正确的文件');
                return;
            }
            var val = getObjectURL(this.files[0]);
            var html = '<i class="mclose" id="mclose_'+amount+'">一</i><img src="' + val + '">';
            th.html(html);
            amount = amount + 1;
            present = present + 1;
            if(present > 4) return;
            var htmlC = '<div id="boxs'+amount+'" style="margin-left:20px;">'+
                '<div class="addImg" id="img_'+amount+'">'+
                    '<i class="madd">+</i><p>点击添加图片</p>'+
                '</div>'+
                '<input type="file" id="file'+amount+'" name="img" style="width: 0;height: 0; visibility:hidden;">'+
            '</div>';
            $('.img').append(htmlC);
        })
        function getObjectURL(file) {
            var url = null;
            if (window.createObjectURL != undefined) { // basic
                url = window.createObjectURL(file);
            } else if (window.URL != undefined) { // mozilla(firefox)
                url = window.URL.createObjectURL(file);
            } else if (window.webkitURL != undefined) { // webkit or chrome
                url = window.webkitURL.createObjectURL(file);
            }
            return url;
        }

        function stopBubble(e) {
            //一般用在鼠标或键盘事件上
            if (e && e.stopPropagation) {
                //W3C取消冒泡事件
                e.stopPropagation();
            } else {
                //IE取消冒泡事件
                window.event.cancelBubble = true;
            }
        };

         $(function(){

                $('#quiry').click(function(){
                    $("#key").blur();
                        var key = $('#key').val();

                        $.ajax({
                            type: "POST",
                            url: "/doctor/huizong/search",
                            data: {'key':key},
                            dataType: "text",
                            success: function(data){
                               $("#menu").html(data);
                            }
                       });

                        })


         $(function () {
             // $.ajax({
             //     type: "POST",
             //     url: "/doctor/menu",
                 
             //     dataType: "text",
             //     success: function (data) {
             //         console.log(data)
             //         $("#menu").html(data);
             //     }
             // });
         });
            $("#key").on("input propertychange", function() {

                    var key = $("#key").val()
                    $.ajax({
                          type: "POST",
                          url: "/doctor/huizong/search",
                          data: {'key':key},
                          dataType: "text",
                          success: function(data){
                               $("#menu").html(data);
                         }
                     });

                });

            /*点击展开导航条*/
            $(".cimao2").click(function(){
                if($(this).siblings().next("ul").is(':hidden')){
                    $(this).siblings().next("ul").slideDown(300);
                }else{
                    $(this).siblings().next("ul").slideUp(300);
                }
                 })

             /*选中默认展开*/
            if($("#tab").find('.active').find('.active')){
                $("#tab").find('.active').children('.zi_tab').slideDown(300);
            }


               /*得到当前时间*/
         function p(s) {
                return s < 10 ? '0' + s: s;
            }

            var myDate = new Date();
            //获取当前年
            var year=myDate.getFullYear();
            //获取当前月
            var month=myDate.getMonth()+1;
            //获取当前日
            var date=myDate.getDate();
            var now=year+'-'+p(month)+"-"+p(date);

            $('#select_data').val(now)
              var select_data_val = $('#select_data').val();
                // $.ajax({
                //        type: "POST",
                //        url: "/doctor/menu",
                //        data: {'select_data_val':select_data_val},
                //        dataType: "text",
                //        success: function(data){
                //             $("#menu").html(data);
                //        }
                //        });


             $('#select_data').change(function () {
                 var select_data_val = $('#select_data').val();
                $.ajax({
                       type: "POST",
                       url: "/doctor/menu",
                       data: {'select_data_val':select_data_val},
                       dataType: "text",
                       success: function(data){
                            $("#menu").html(data);
                       }
                       });
             })



            })



        </script>


            </div>
        
         <!-- jQuery -->

    <!-- Bootstrap Core JavaScript -->
    <script src="../../爱丁堡信息平台_files/tether.min.js"></script>
    <script src="../../爱丁堡信息平台_files/bootstrap.js"></script>
    <script src="../../爱丁堡信息平台_files/bootstrap-extension.min.js"></script>
    <!-- Menu Plugin JavaScript -->
    <script src="../../爱丁堡信息平台_files/sidebar-nav.min.js"></script>
    <!--slimscroll JavaScript -->
    <script src="../../爱丁堡信息平台_files/jquery.slimscroll.js"></script>
    <!--Wave Effects -->
    <script src="../../爱丁堡信息平台_files/waves.js"></script>
    <!--Morris JavaScript -->
    <!--
    <script src="/static/plugins/bower_components/raphael/raphael-min.js"></script>
    <script src="/static/plugins/bower_components/morrisjs/morris.js"></script>
    -->
    <!-- Sparkline chart JavaScript -->
    <script src="../../爱丁堡信息平台_files/jquery.sparkline.min.js"></script>
    <!-- jQuery peity --><!-- 
    <script src="../../堡信息平台_files/jquery.peity.min.js"></script>
    <script src="../../爱丁堡信息平台_files/jquery.peity.init.js"></script> -->
    <!-- Custom Theme JavaScript -->
    <script src="../../爱丁堡信息平台_files/custom.min.js"></script>
    <!--
    <script src="/static/eliteadmin-hospital/js/dashboard1.js"></script>
    -->
    <!--Style Switcher -->
    <script src="../../爱丁堡信息平台_files/jQuery.style.switcher.js"></script>
    <!--layer -->
    <script src="../../爱丁堡信息平台_files/layer.js"></script>
    <script src="../../爱丁堡信息平台_files/laydate.js"></script>
    <!--img-->
    <script src="../../爱丁堡信息平台_files/bootstrap-fileinput.js"></script>
     <script>
        $(function(){
            // console.log([0, 1, 2])
            $('.wap-lang-container select').change(function(){
               $.post("/account/change_lanuage/", { language: "CHN"},
                function(data){
                   location.href='/nurse/info/search'
            if (data.result == 1){
                $("#CHN").selected=True
            }
            else if (data.result == 0) {
                $("#ENG").selected = True
            }

   });
            })
        })
    </script>

    <!--请在下方写此页面业务相关的脚本-->
    
    <script>
       $(function () {



            var patient_id = $("#patient_id").val()
            // console.log(patient_id)
             $('#diabetes_HBA1C').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'HBA1C',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_HBA1C/'
                });
            })

            $('#diabetes_auto_antibodies').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'auto_antibodies',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_auto_antibodies/'
                });
            })

            $('#diabetes_c_peptide').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'c_peptide',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })

             $('#CVD_total_cholesterol').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'total_cholesterol',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })

           $('#CVD_LDL_cholesterol').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'c_peptide',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })
           $('#CVD_HDL_cholesterol').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'c_peptide',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })
           $('#CVD_triglycerides').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'c_peptide',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })
           $('#CVD_blood_pressure').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'c_peptide',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })

            $('#renal_creatinine').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'c_peptide',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })

            $('#renal_eGFR').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'c_peptide',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })

            $('#renal_urine_albumin_creatinine').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'c_peptide',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })

           $('#renal_albumin_creatinine_ratio').click(function () {
                //iframe层
                layer.open({
                    type: 2,
                    title: 'c_peptide',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['980px', '70%'],
                    content: '/doctor/huizong/charts/' + patient_id + '/diabetes_c_peptide/'
                });
            })


        })
    </script>


</body></html>